<div>
    <table cellpadding="0" cellspacing="0" border="0" id="table" class="uiTable">
        <thead>
            <tr>
                <th class="nosort" style="width:12px;"><h3>Opt</h3></th>
                <th><h3>Name</h3></th>
                <th><h3>Email</h3></th>
                <th><h3>Timezone(GMT)</h3></th>
                <th><h3>Actions</h3></th>
            </tr>
        </thead>
        <tbody>
            <?php foreach ($users as $user) { ?>
            <tr>
                <td><input type="checkbox" /></td>
                <td><?php echo $user['User']['user_name']; ?></td>
                <td><a href="mailto:<?php echo $user['User']['email']; ?>"><?php echo $user['User']['email']; ?></a></td>
                <td><?php echo $user['User']['timezone'];?></td>
                <td>
<?php echo $html->link(__('Website', true), array('controller'=>'websites', 'action' => 'admin_index', $user['User']['id'])); ?>&nbsp;&nbsp;
				
<?php echo $html->link(__('View', true), array('action' => 'admin_view', $user['User']['id'])); ?>&nbsp;&nbsp;
			<?php echo $html->link(__('Edit', true), array('action' => 'admin_edit', $user['User']['id'])); ?>&nbsp;&nbsp;
			<?php echo $html->link(__('Delete', true), array('action' => 'admin_delete', $user['User']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $user['User']['id'])); ?></td>
            </tr>
           <?php } ?>
           
        </tbody>
    </table>


    <!-- Navigation controls -->
    
    <?php echo $this->element('pagination'); ?>
    
</div>